package com.heima.model.admin.dtos;

import com.heima.model.common.dtos.PageRequestDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@EqualsAndHashCode(callSuper = true)
@Data
public class ChannelDTO extends PageRequestDTO {
    /**
     * 频道名称
     */
    @NotBlank(message="频道名称不能为Null")
    private String name;
}
